#!/bin/bash
> 9.log
for i in `seq -w 0 09`
do
    echo $i
    p=`mkpasswd -s 0 -l 10`
    echo "user_$i $p" >> 9.log
    #echo $p | passwd --stdin user_$i
done
